<?php

namespace App;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

/**
 * App\UserSpendRecord
 *
 * @property int $id
 * @property int $user_id
 * @property int $books_id
 * @property int $recharge_package_id
 * @property int $num
 * @property float $amount_money
 * @property int $amount_books_coin
 * @property string|null $remark
 * @property string|null $type
 * @property int $is_pay
 * @property string|null $pay_time 支
 * @property string|null $pay_type 支
 * @property string|null $deleted_at
 * @property \Carbon\Carbon|null $created_at
 * @property \Carbon\Carbon|null $updated_at
 * @method static bool|null forceDelete()
 * @method static \Illuminate\Database\Query\Builder|\App\UserSpendRecord onlyTrashed()
 * @method static bool|null restore()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserSpendRecord whereAmountBooksCoin($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserSpendRecord whereAmountMoney($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserSpendRecord whereBooksId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserSpendRecord whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserSpendRecord whereDeletedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserSpendRecord whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserSpendRecord whereIsPay($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserSpendRecord whereNum($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserSpendRecord wherePayTime($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserSpendRecord wherePayType($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserSpendRecord whereRechargePackageId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserSpendRecord whereRemark($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserSpendRecord whereType($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserSpendRecord whereUpdatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserSpendRecord whereUserId($value)
 * @method static \Illuminate\Database\Query\Builder|\App\UserSpendRecord withTrashed()
 * @method static \Illuminate\Database\Query\Builder|\App\UserSpendRecord withoutTrashed()
 * @mixin \Eloquent
 * @property string|null $order_num 订单编号
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserSpendRecord whereOrderNum($value)
 * @property int $vip_rule_id 会员规则id
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserSpendRecord whereVipRuleId($value)
 */
class UserSpendRecord extends Model
{
    protected $table = 'user_spend_record';
    use SoftDeletes;
}
